package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.Huida;
import cn.wolfcode.luowowo.article.query.HuidaQuery;
import cn.wolfcode.luowowo.article.vo.DetailVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HuidaMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Huida record);

    Huida selectByPrimaryKey(Long id);

    List<Huida> selectAll();

    int updateByPrimaryKey(Huida record);

    List<Huida> selectByWendaId(@Param("wendaId") Long wendaId);

    List<Huida> selectForList(HuidaQuery qo);

    void updateStatisByVo(DetailVO detailVO);
}